package com.ynwt.service;

import com.ynwt.domain.User;

/**
 * Created by huangying on 2017/6/12.
 */
public interface UserService {

    /**
     * 从微信服务器获取用户信息
     * @param openid
     * @return
     */
    User fetchFromTencent(String openid);

    /**
     * 更新用户信息
     * @param openid
     * @return
     */
    boolean updateUserInfo(String openid);
}
